package Service;

import POJO.InputPOJO.UserPage;
import POJO.User;
import POJO.Vo.UserVo;

import java.util.List;

public interface UserService {
    /*新增登录员*/
    public  void  insertUser(User user);

    /*登录员查询*/
    public List<UserVo> userList(UserPage userPage);
    /*登录员查询计数*/
    public  int userListTotal(UserPage userPage);

    /*登录员修改*/
    public  void  updateUser(User user);
    /*通过id查询登录员*/
    public UserVo  selectUserById(long userId);

    /*登录员删除用户*/
    public  void  deleteUser(int userId);


    /*用户登录*/
    public  UserVo logon(User user);
    /*用户登录检查*/
    public  UserVo logonCheck(User user);
}
